﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;

namespace Zj.HttpCodeDemo.Domain.Core
{
    /// <summary>
    /// Conceptual model department.
    /// </summary>
    public class Department
        :Entity
    {
        public Department()
        {
            this.Users = new Collection<User>();
        }
        public string Name { get; set; }
        public DateTime CreateDate { get; set; }

        public virtual ICollection<User> Users { get; set; }
    }
}
